* configure.in: Add -ljpeg when checking for jasper.
Reported by Mike Calmus
svn path=/trunk/; revision=20827
+2008-07-14 Matthias Clasen <mclasen@redhat.com>
+
+ Bug 542853 – jasper test fails due to incomplete library arguments
+
+ * configure.in: Add -ljpeg when checking for jasper.
+ Reported by Mike Calmus
+
2008-07-14 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek
dnl Test for libjasper
if test x$with_libjasper != xno && test -z "$LIBJASPER"; then
- AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, [])
+ AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, [], -ljpeg)
fi
if test x$with_libjasper != xno && test -z "$LIBJASPER"; then